import {Table, Column, Model} from "sequelize-typescript";

@Table({
    tableName: 'user'
})
export class User extends Model<User> {
    @Column({
        allowNull: false
    })
    user_name!: string

    @Column
    user_phone!: string // h5手机号密码登录

    @Column
    user_password!:string

    @Column
    user_appId!: string // appId在wx端登录

    @Column
    user_picture!: string // 用户头像

    @Column
    user_sex!: string //性别

    @Column
    edu_class!: string // 注册后填写补充

    @Column
    edu_account!: string  // 教务账号

    @Column
    edu_password!: string  // 教务密码
}
